projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1da8e5
)
; Add a comment for make-text-button in rcirc-markup-urls
author
Miles Bader
<miles@gnu.org>
Sat, 9 Sep 2017 14:28:08 +0000
(23:28 +0900)
committer
Miles Bader
<miles@gnu.org>
Sat, 9 Sep 2017 14:28:08 +0000
(23:28 +0900)
lisp/net/rcirc.el
patch
|
blob
|
history
diff --git
a/lisp/net/rcirc.el
b/lisp/net/rcirc.el
index 60af1973ccb4c7901e823c6c75837c52c7940496..6377f791f456c2d11df3775cda90da378ce89593 100644
(file)
--- a/
lisp/net/rcirc.el
+++ b/
lisp/net/rcirc.el
@@
-2499,6
+2499,9
@@
If ARG is given, opens the URL in a new browser window."
(end (match-end 0))
(url (match-string-no-properties 0))
(link-text (buffer-substring-no-properties start end)))
+ ;; Add a button for the URL. Note that we use `make-text-button',
+ ;; rather than `make-button', as text-buttons are much faster in
+ ;; large buffers.
(make-text-button start end
'face 'rcirc-url
'follow-link t